package com.zhima.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties("elasticsearch")
public class ElasticsearchProperties {
    private String url;
    private Integer port;
}

